	(function($) {	
  		$.GM = function() {
			if (GBrowserIsCompatible()) {
        		$.GM.p.map = new GMap2($("#map")[0]);
        		
        		$.GM.p.map.addControl(new GLargeMapControl());
      			$.GM.p.map.addControl(new GMapTypeControl());
      
        		$.GM.p.map.setCenter(new GLatLng(55.755786, 37.617633), 13);   
        		
 			} else {
      			alert("Sorry! The map is out there!");
      		}			
		},

		// Params
  		$.GM.p = {
			map: 	null,
  		}
  		  		
	})(jQuery);


$(document).ready(function() { $.GM(); });
$(window).unload(function() { GUnload(); });    	
	